package cn.com.open.itembank.mapper;

import cn.com.open.itembank.sqlprovider.OperateLogSqlProvider;
import cn.com.open.itembank.entity.OperateLog;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by lucky on 2017/7/20.
 */
@Mapper
public interface OperateLogMapper {

    /**
     * Insert 日志信息.
     *
     * @param model 日志信息
     * @return the int
     */
    @InsertProvider(type = OperateLogSqlProvider.class, method = "insert")
    int insert(OperateLog model);
}
